import { request } from "@/utils/http";
import type {getHosListSearchParamsType, hospitalListReqReturnType} from './model/hospitalListTypes'

// 1.获取医院列表数据的请求
export const getHospitalListRequest=(page:number,limit:number,searchParams:getHosListSearchParamsType)=>{
    return request.get<any,hospitalListReqReturnType>(`/admin/hosp/hospital/${page}/${limit}`,{
        params:searchParams
    })
}